#include<iostream>

using namespace std;

int max(int,int);

int main()
{
    int a = 100;
    int b = 30;
    int ret = max(a,b);

    cout<<"max value is "<<ret<<endl;

    return 0;    
}

int max(int a, int b)
{
    if(a>b){
        return a;
    }else
    {
        return b;
    }
    
}